package com.lemon.cloud.lock.generator;

import org.aspectj.lang.ProceedingJoinPoint;

/**
 * @author lemon
 * @return
 * @description key生成器
 * @date 2019-09-05 12:49
 */
public interface CacheKeyGenerator {

    /**
     * @param proceedingJoinPoint
     * @return java.lang.String
     * @description 获取AOP参数, 生成指定缓存Key
     * @author lemon
     * @date 2019-09-05 12:49
     */
    String getLockKey(ProceedingJoinPoint proceedingJoinPoint);
}